given a point find the six trigonometric functions